﻿using System.Collections.Generic;
using System.Security.Principal;

namespace IdentityAtRest.Utility.Identity
{
    public class ClaimsIdentity : GenericIdentity, IClaimsIdentity
    {
        private readonly IList<IClaim> _claims;

        
        public ClaimsIdentity(string name, IList<IClaim> claims) : base(name)
        {
            _claims = claims;
        }

        #region IClaimsIdentity Members

        public IList<IClaim> Claims
        {
            get { return _claims; }
        }

        #endregion
    }
}